import request from '@/utils/request'

export function listDishesInfo(query) {
  return request({
    url: '/api/adminBiz/restaurant/dishes/list',
    method: 'post',
    data: query
  })
}

export function addDishesInfo(query) {
  return request({
    url: '/api/adminBiz/restaurant/dishes/add',
    method: 'post',
    data: query
  })
}

export function updateDishesInfo(query) {
  return request({
    url: '/api/adminBiz/restaurant/dishes/update',
    method: 'post',
    data: query
  })
}

export function deleteDishesInfo(query) {
  return request({
    url: '/api/adminBiz/restaurant/dishes/delete',
    method: 'post',
    data: query
  })
}
